import http from "@/utils/http";
//获取表格数据列表
export const getList = (params) => {
  return http.get("/project/review/plan-list", params);
};
//获取数据统计
export const getCount = (params) => {
  return http.get("/project/review/plan-list-Statistics", params);
};
//新增/编辑
export const editRecords = (params) => {
  return http.post("/project/check/review", params);
};
//记录详情
export const recordsDetail = (params) => {
  return http.get(`/project/check/review`, params);
};
//删除
export const delRecords = (id) => {
  return http.post(`/project/review/plan-del`, { ids: id });
};
//启动或结束
export const changeState = (params) => {
  return http.post(`/project/review/plan-state`, params);
};
//获取评审通知列表
export const getMessageList = (params) => {
  return http.get("/project/check/msg-list", params);
};
//获取通知详情
export const getMessageDetail = (params) => {
  return http.get("/project/check/msg-detail", params);
};
